﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UpdatePanelDemo.aspx.cs" Inherits="Chapter19.Example05.UpdatePanelDemo" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        </div>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <asp:Label ID="label1" runat="server" Text="Label" />
                <asp:Button ID="button1" runat="server" Text="AJAX 回送" OnClick="OnButtonClick"/>
            </ContentTemplate>
        </asp:UpdatePanel>
        <asp:Label ID="label2" runat="server" Text="Label" />
        <asp:Button ID="button2" runat="server" Text="ASP.NET 回送" OnClick="OnButtonClick"/>
    </form>
</body>
</html>
